home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Game-Power
/
Amiga Game-Power.iso
/
pd mix ii
/
access
/
hddriver
/
driver
/
subprocess.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-20
|
381b
|
21 lines
#include "hd.h"
/* note that must not allocate any signals here as they may conflict */
/* with signals for the interrupt handler or for the message port which */
/* allocated the signals in a different task (naughty arnt I!) */
void
subprocess ()
{
struct Message *msg;
while ( 1 ) {
while ( msg = GetMsg ( port ) ) {
perform_io ( msg );
}
WaitPort ( port );
}
}